package com.sulent.frame.web.eneity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName MultiPart
 * @Description: TODO
 * @Author Submerge.
 * @Since 2024/2/5 11:22
 * @Version 1.0
 */
@Data
@TableName(value = "bd_am_multi_part")
public class MultiPart {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String uploadId;

    private String etag;

    private Long offset;

    private Long length;

    private Long partSize;

    private Integer partNumber;

    //分片状态（-1失败；0上传中；1中断；2成功
    private Integer partStatus;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
